package model.punishte;

import javax.xml.bind.annotation.*;

/**
 * Created with IntelliJ IDEA.
 * Author: Kostika Gorica
 * User:   kosta
 * Date:   3/9/13
 * Time:   10:34 PM
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlAccessorOrder(XmlAccessOrder.ALPHABETICAL)
@XmlRootElement(name = "konsum")
public class Konsum {
    private int id;
    private int prodhimID;
    private int artikullID;
    private double sasia;
    private double cmimi;

    public Konsum(){ }

    public Konsum(int id, int prodhimID, int artikullID, double sasia, double cmimi) {
        this.id = id;
        this.prodhimID = prodhimID;
        this.artikullID = artikullID;
        this.sasia = sasia;
        this.cmimi = cmimi;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getProdhimID() {
        return prodhimID;
    }

    public void setProdhimID(int prodhimID) {
        this.prodhimID = prodhimID;
    }

    public int getArtikullID() {
        return artikullID;
    }

    public void setArtikullID(int artikullID) {
        this.artikullID = artikullID;
    }

    public double getSasia() {
        return sasia;
    }

    public void setSasia(double sasia) {
        this.sasia = sasia;
    }

    public double getCmimi() {
        return cmimi;
    }

    public void setCmimi(double cmimi) {
        this.cmimi = cmimi;
    }
}
